package com.aizhixin.lab.task.entity;

import com.aizhixin.lab.common.entity.AbstractStringEntity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity(name = "T_RELEASE_TASK_QUESTION")
@ToString
public class ReleaseTaskQuestion extends AbstractStringEntity {
    @Column(name = "release_task_id")
    @Getter
    @Setter
    private String releaseTaskId;
    @Column(name = "question_content")
    @Getter
    @Setter
    private String questionContent;
    @Column(name = "analysis")
    @Getter
    @Setter
    private String analysis;
    @Column(name = "answer")
    @Getter
    @Setter
    private String answer;
    @Column(name = "order_num")
    @Getter
    @Setter
    private Integer orderNum;
    @Column(name = "question_type")
    @Getter
    @Setter
    private Integer questionType;
	/**
	 * 回答语言
	 */
	@Column(name="language")
	@Getter@Setter
	private String language;

    /**
     * 简答题关键字（多个关键字以逗号隔开）
     */
    @Column(name="keyword")
    @Getter@Setter
    private String keyword;

    /**
     * 参考代码
     */
    @Column(name="reference_code")
    @Getter@Setter
    private String referenceCode;
}
